package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.CircleCommentDao;
import com.bootdo.system.domain.CircleCommentDO;
import com.bootdo.system.service.CircleCommentService;



@Service
public class CircleCommentServiceImpl implements CircleCommentService {
	@Autowired
	private CircleCommentDao circleCommentDao;
	
	@Override
	public CircleCommentDO get(Integer id){
		return circleCommentDao.get(id);
	}
	
	@Override
	public List<CircleCommentDO> list(Map<String, Object> map){
		return circleCommentDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return circleCommentDao.count(map);
	}
	
	@Override
	public int save(CircleCommentDO circleComment){
		return circleCommentDao.save(circleComment);
	}
	
	@Override
	public int update(CircleCommentDO circleComment){
		return circleCommentDao.update(circleComment);
	}
	
	@Override
	public int remove(Integer id){
		return circleCommentDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return circleCommentDao.batchRemove(ids);
	}
	
}
